const UserObj = 'lifeData'
const TokenKey = "vuex_token"
export function getToken() {
	return uni.getStorageSync(UserObj)
}
export function getTokenNew() {
	const obj = uni.getStorageSync(UserObj) || {}
	return obj[TokenKey]
}
export function setToken(token) {
	return uni.setStorageSync(UserObj, token)
}
export function removeToken() {
	return uni.removeStorageSync(UserObj)
}